--使用方法：直接粘贴到模组环境 玩家.if_st1_s4 = true 激活

local ComplexProjectile = require "components/complexprojectile"
local _Hit = ComplexProjectile.Hit
function ComplexProjectile:Hit(target, ...)
    return target and target.if_st1_s4 or _Hit(self, target, ...)
end

--
local Projectile = require "components/projectile"
local _Hit2 = Projectile.Hit
function Projectile:Hit(target, ...)
    if target and target.if_st1_s4 then
        self:Miss(target)
        return
    end
    return _Hit2(self, target, ...)
end